package tables

type User struct {
	FirstName string  `gorm:"type:varchar(50);not null;index;"`
	LastName  string  `gorm:"type:varchar(50);not null;index;"`
	Email     string  `gorm:"type:varchar(200);not null;index;"`
	Password  string  `gorm:"type:varchar(200);not null"`
	Mobile    *string `gorm:"type:varchar(20);index"`
	Address   string  `gorm:"type:varchar(200)"`
	BaseModel
}

func (u *User) TableName() string {
	return "users"
}
